package bdqn.t09.service.impl;

import bdqn.t09.dao.AsFunctionMapper;
import bdqn.t09.pojo.AsFunction;
import bdqn.t09.service.AsFunctionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AsFunctionServiceImpl implements AsFunctionService {

    @Resource
    private AsFunctionMapper asFunctionMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return asFunctionMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AsFunction record) {
        return asFunctionMapper.insert(record);
    }

    @Override
    public int insertSelective(AsFunction record) {
        return asFunctionMapper.insertSelective(record);
    }

    @Override
    public AsFunction selectByPrimaryKey(Long id) {
        return asFunctionMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AsFunction record) {
        return asFunctionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AsFunction record) {
        return asFunctionMapper.updateByPrimaryKey(record);
    }


}